﻿<?php
		require_once('../config.php');
		include_once("database/DataBase.php");

		$email = $_POST["email"];
		$pwd = $_POST["pwd"];
		$mobile = md5($_POST["mobile"]);
		$firstname = $_POST["firstname"];
		$lastname = $_POST["lastname"];
		
		$database = New DataBase();
		$database->open_connection();
		$result = $database->addNormalUser($email, $pwd, $firstname,$lastname,$mobile);

		$database->close_connection();
?>